const timeParse = function(date) {
    var timeArry = date.split("-");
    let secKillYear = timeArry[0];
    let secKillMonth = timeArry[1];
    let secKillDate = timeArry[2];
    //console.log(secKillYear, secKillMonth, secKillDate);
        var newDate = new Date();
    newDate.setFullYear(secKillYear, secKillMonth, secKillDate);
    let today = new Date();
    let tomorrow = new Date();
    tomorrow.setDate(today.getDate() + 1);
    let tomorrowT = new Date();
    tomorrowT.setDate(today.getDate() + 2);
    //console.log(today, tomorrow, date, date < tomorrow);
        if (date) {}
};

module.exports = timeParse;